package curator.leaderLatch.conf;

/**
 * Created by Administrator on 2016/7/4.
 */
public class ZkClientConfig {


    private String connectString;

    private int policySleeptime;

    private int policyRetryTimes;

    private String dataPath;

    /**
     * getConnectString
     * @return connectString
     */
    public String getConnectString() {
        return connectString;
    }

    /**
     * setConnectString
     * @param connectString String
     */
    public void setConnectString(String connectString) {
        this.connectString = connectString;
    }

    /**
     * getDataPath
     * @return dataPath
     */
    public String getDataPath() {
        return dataPath;
    }
    /**
     * setDataPath
     * @param dataPath dataPath
     */
    public void setDataPath(String dataPath) {
        this.dataPath = dataPath;
    }
    /**
     * getPolicyRetryTimes
     * @return policyRetryTimes
     */
    public int getPolicyRetryTimes() {
        return policyRetryTimes;
    }
    /**
     * setPolicyRetryTimes
     * @param policyRetryTimes policyRetryTimes
     */
    public void setPolicyRetryTimes(int policyRetryTimes) {
        this.policyRetryTimes = policyRetryTimes;
    }
    /**
     * getPolicySleeptime
     * @return policySleeptime
     */
    public int getPolicySleeptime() {
        return policySleeptime;
    }
    /**
     * setPolicySleeptime
     * @param policySleeptime policySleeptime
     */
    public void setPolicySleeptime(int policySleeptime) {
        this.policySleeptime = policySleeptime;
    }

	@Override
	public String toString() {
		return "ZkClientConfig [connectString=" + connectString
				+ ", policySleeptime=" + policySleeptime
				+ ", policyRetryTimes=" + policyRetryTimes + ", dataPath="
				+ dataPath + "]";
	}
    
}
